package com.lex.entity.role;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
@Schema(name = "RoleDto", description = "角色Dto类")
public class RoleDto {
    @Schema(description = "角色id")
    private Long id;
    @NotEmpty
    @Schema(description = "角色名称")
    private String roleName;
    @NotEmpty
    @Schema(description = "角色状态")
    private Integer status;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "角色拥有菜单列表")
    private List<Long> menuIds;
}
